﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class WMSSalesInfoToRaipiotDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSSalesInfoToRaipiotRequestDto
    {
        /// <summary>
        /// 描述 : 所属基地 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_code")]
        public string factory_code { get; set; }

    }

    public class ToSalesInfoToRaipiotRequestDto
    {
        /// <summary>
        /// 描述 : 单据类型
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "orderType")]
        public string orderType { get; set; }

        /// <summary>
        /// 描述 : 订单号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "orderNo")]
        public string orderNo { get; set; }

        /// <summary>
        /// 描述 : 创建人
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "createUserNumber")]
        public string createUserNumber { get; set; }

        /// <summary>
        /// 描述 : 创建时间
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "requiredDeliveryTime")]
        public long requiredDeliveryTime { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "consignmentNoteOrderLoadAddRequests")]

        public List<ToSalesInfoRaipiot_LoadDetailRequestDto> consignmentNoteOrderLoadAddRequests { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "transportTrackGoodsRequests")]

        public List<ToSalesInfoRaipiot_GoodsDetailRequestDto> consignmentNoteOrderGoodsAddRequests { get; set; }

    }

    public class ToSalesInfoRaipiot_LoadDetailRequestDto
    {
        /// <summary>
        /// 描述 : 编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliverCompanyCode")]
        public string deliverCompanyCode { get; set; }

        /// <summary>
        /// 描述 : 收发货类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "loadType")]
        public string loadType { get; set; }

        /// <summary>
        /// 描述 : 电话 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "originalPhone")]
        public string originalPhone { get; set; }

        /// <summary>
        /// 描述 : 姓名 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliverUserName")]
        public string deliverUserName { get; set; }


        /// <summary>
        /// 描述 : 公司名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliverCompanyName")]
        public string deliverCompanyName { get; set; }


        /// <summary>
        /// 描述 : 地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "loadAddress")]
        public string loadAddress { get; set; }

    }

    public class ToSalesInfoRaipiot_GoodsDetailRequestDto
    {


        /// <summary>
        /// 描述 : 行号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "subOrderNo")]
        public string subOrderNo { get; set; }

        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "count")]
        public string count { get; set; }

        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "goodsName")]
        public string goodsName { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "goodsCode")]
        public string goodsCode { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "saleNo")]
        public string saleNo { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "unit")]
        public string unit { get; set; }

    }

    public class ToSalesInfoRaipiotInfoResponseDto
    {
        /// <summary>
        /// 描述 : 所属基地 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public int status { get; set; }

        /// <summary>
        /// 描述 : 返回消息 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }


    }



    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSSalesInfoToRaipiotResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

    }
}
